package com.zys.el.search.api;

import com.zys.el.user.po.Note;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

@RequestMapping(value = "/anticle")
public interface AnticleApi {

    @DeleteMapping("/delete/{id}")
    public ResponseEntity deleteNoteById(@PathVariable Long id);

    @PostMapping("/add")
    public ResponseEntity addNote(@RequestBody Note note);
}


